const express = require('./express');
const user = require('./routes/user');
const article = require('./routes/article');
const statuses = require('statuses')
const mime = require('mime')
const path = require('path')
const app = express();
const fs = require('fs')

app.use('/user', user); // express.Router() => function(req,res,next){}
app.use('/article', article)

// 文章相关的功能  add remove


app.listen(3000, function () {
    console.log('server start 3000')
})
